package com.hikvision;

import com.hikvision.cms.thread.ThreadPool;
import com.hikvision.cms.thread.work.ConnectWork;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@MapperScan({"com.hikvision.cms.dao"})
public class MycloudeduGradeApplication {
    public static void main(String[] args) {
        SpringApplication.run(com.hikvision.MycloudeduGradeApplication.class, args);

        ThreadPool.addWork(new ConnectWork());
    }
}
